// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/vite/dist/node/index.js";
import vue from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/unplugin-vue-components/dist/resolvers.js";
import IconsResolver from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/unplugin-icons/dist/resolver.js";
import Inspect from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/vite-plugin-inspect/dist/index.mjs";
import Icons from "file:///E:/code/vscode/vue-demo/eshop-vue3/node_modules/unplugin-icons/dist/vite.js";
var __vite_injected_original_import_meta_url = "file:///E:/code/vscode/vue-demo/eshop-vue3/vite.config.js";
var vite_config_default = defineConfig({
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:8888/eshop/",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  },
  plugins: [
    vue(),
    AutoImport({
      resolvers: [
        ElementPlusResolver(),
        IconsResolver({
          prefix: "Icon"
        })
      ]
    }),
    Components({
      resolvers: [
        ElementPlusResolver(),
        IconsResolver({
          enabledCollections: ["ep"]
        })
      ]
    }),
    Icons({
      autoInstall: true
    }),
    Inspect()
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  build: { sourcemap: true }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcm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